import { useNavigate } from "react-router-dom";
import AiChat from '@/components/ai-chat/index.jsx'
 
function home() {
  const navigate = useNavigate()
  return (
    <div>
      这是login页面
      <button onClick={() => navigate('/')}>跳转到home</button>
      <AiChat/>
    </div>
  );
}
 
export default home;